package com.open.capacity.service;


import com.github.pagehelper.PageInfo;
import com.open.capacity.model.CommentModel;
import com.open.capacity.model.UserModel;

/**
 * @author: y_022
 * @date: 18:22-2021/6/24
 * @description:
 */
public interface CommentService {
    PageInfo<CommentModel> findCommentByUserId(UserModel userModel);

    void addComment(CommentModel commentModel);

    void deleteComment(CommentModel commentModel);

    int findComment(CommentModel commentModel);
}
